#ifndef CONTROLWIDGET_H
#define CONTROLWIDGET_H

#include <QWidget>
#include <QPushButton>

class OpenGLWidget;

class ControlWidget : public QWidget
{
    Q_OBJECT
public:
    explicit ControlWidget(OpenGLWidget *glWidget, QWidget *parent = nullptr);

private slots:
    void onZoomFitClicked();

private:
    OpenGLWidget *m_glWidget;
    QPushButton *m_zoomFitButton;
};
#endif // CONTROLWIDGET_H
